package com.laborder.sysyy.dao;

import com.laborder.sysyy.entity.Classes;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface ClassDaoMapper {
	 /**
	  * @Function: 分页查询
	  * @author: 786107529@qq.com FJL
	  * @date:2018/9/8 17:31
	  */
	 List<Classes> findClassWithPage(Map<String, Object> map);
	 /**
	  * @Function: 查询总数
	  * @author: 786107529@qq.com FJL
	  * @date:2018/9/8 17:31
	  */
	 int getClassCount(Map<String, Object> map);
	List<Classes> findAllClasses();
	Classes getClassInfoById(String caId);

}
